package wildlife;

import org.apache.struts2.ServletActionContext;

public class postjob {
String summary;

public String getSummary() {
	return summary;
}

public void setSummary(String summary) {
	this.summary = summary;
}
public String execute() throws Exception {
	String username=ServletActionContext.getRequest().getSession().getAttribute("username").toString();
	Connect c=new Connect();
	c.dml("insert into jobs(username,summary) values('"+username+"','"+summary+"')");
	return "success";

}


}
